package org.call.feign;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

//name = "thisOnlyName", url = "http://localhost:10102"
//@FeignClient("SERVICE-HI")
//@FeignClient(name="SERVICE-HI",url = "http://localhost:8762")
@FeignClient("SERVICE-HI")
public interface helloClient {

	@RequestMapping(value = "/hello",method = RequestMethod.GET)
    public String hello(@RequestParam(value = "name") String name);
	
}
